<?php
return [

    // 不需要 Token 验证
    'optional' => [
        'login',
        'logout'
    ],

    // 跨域
    'cors' => [
        'Origin' => ['http://www.bai.cn', 'http://doc.crm.cn', 'http://172.22.1.44:8090','http://www.app.cn'],
        'Access-Control-Request-Method' => ['GET', 'POST'],
        'Access-Control-Request-Headers' => ['*'],
        'Access-Control-Allow-Credentials' => true,
        'Access-Control-Max-Age' => 86400,
        'Access-Control-Expose-Headers' => [],
    ]
];